package com.ruoyi.exam.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 补缓考课程管理对象 exam_makeup_course
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
public class ExamMakeupCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 补缓考ID */
    private Long makeupId;

    /** 课程号 */
    @Excel(name = "课程号")
    private String courseNo;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 学分 */
    @Excel(name = "学分")
    private BigDecimal credit;

    /** 考试方式 */
    @Excel(name = "考试方式")
    private String examMethod;

    /** 考试来源 */
    @Excel(name = "考试来源")
    private String examSource;

    /** 系别 */
    @Excel(name = "系别")
    private String department;

    /** 人数 */
    @Excel(name = "人数")
    private Long studentCount;

    /** 组织单位 */
    @Excel(name = "组织单位")
    private String orgUnit;

    public void setMakeupId(Long makeupId) 
    {
        this.makeupId = makeupId;
    }

    public Long getMakeupId() 
    {
        return makeupId;
    }

    public void setCourseNo(String courseNo) 
    {
        this.courseNo = courseNo;
    }

    public String getCourseNo() 
    {
        return courseNo;
    }

    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }

    public void setCredit(BigDecimal credit) 
    {
        this.credit = credit;
    }

    public BigDecimal getCredit() 
    {
        return credit;
    }

    public void setExamMethod(String examMethod) 
    {
        this.examMethod = examMethod;
    }

    public String getExamMethod() 
    {
        return examMethod;
    }

    public void setExamSource(String examSource) 
    {
        this.examSource = examSource;
    }

    public String getExamSource() 
    {
        return examSource;
    }

    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }

    public void setStudentCount(Long studentCount) 
    {
        this.studentCount = studentCount;
    }

    public Long getStudentCount() 
    {
        return studentCount;
    }

    public void setOrgUnit(String orgUnit) 
    {
        this.orgUnit = orgUnit;
    }

    public String getOrgUnit() 
    {
        return orgUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("makeupId", getMakeupId())
            .append("courseNo", getCourseNo())
            .append("courseName", getCourseName())
            .append("credit", getCredit())
            .append("examMethod", getExamMethod())
            .append("examSource", getExamSource())
            .append("department", getDepartment())
            .append("studentCount", getStudentCount())
            .append("orgUnit", getOrgUnit())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
